package com.hua.fanqieweather.util;

import okhttp3.OkHttpClient;
import okhttp3.Request;

/**
 * @ProjectName: FanqieWeather
 * @author: LuoWeiHua
 * @Date: 2022/6/1
 * @Desc:
 */
public class HttpUtil {
    public static void sendOkHttpRequest(String address , okhttp3.Callback callback){
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder().url(address).build();
        client.newCall(request).enqueue(callback);
    }
}
